// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SearchResponse.cs" company="XamlNinja">
//   2011 Richard Griffin and Ollie Riches
// </copyright>
// <summary>
//   SearchResponse.cs
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace WP7Contrib.Services.BingMaps.Resources.Search
{
    using Newtonsoft.Json;

    [JsonObject(MemberSerialization.OptIn)]
    internal sealed class SearchResponse
    {
        [JsonProperty("Version")]
        public string Version { get; set; }

        [JsonProperty("Query")]
        public Query Query { get; set; }

        [JsonProperty("Spell")]
        public SpellResponse SpellResponse { get; set; }

        [JsonProperty("Web")]
        public WebResponse WebResponse { get; set; }

        [JsonProperty("Phonebook")]
        public PhoneBookResponse PhoneBookResponse { get; set; }
    }
}